package com.wpen.unit.cvt.job;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.JobInfoPo;
import com.wpen.unit.web.dto.job.JobInfoAddRequest;
import com.wpen.unit.web.dto.job.JobInfoAddResponse;
import com.wpen.unit.web.dto.job.JobInfoListRequest;
import com.wpen.unit.web.dto.job.JobInfoListResponse;
import com.wpen.unit.web.dto.job.JobInfoListRowsResponse;
import com.wpen.unit.web.dto.job.JobInfoModRequest;
import com.wpen.unit.web.dto.job.JobInfoModResponse;

/**
 * 任务作业转换类
 * 
 * @author pg
 *
 */
@Mapper
public interface JobInfoCvt {
    JobInfoCvt INSTANCE = Mappers.getMapper(JobInfoCvt.class);

    JobInfoPo queryListDto2Do(JobInfoListRequest jobInfoListRequest);

    JobInfoListResponse queryListDo2Dto(JobInfoPo jobInfoPo);

    JobInfoListRowsResponse queryListRowDo2Dto(JobInfoPo jobInfoPo);


    JobInfoPo addDto2Do(JobInfoAddRequest jobInfoAddRequest);

    JobInfoAddResponse addDo2Dto(JobInfoPo jobInfoPo);


    JobInfoPo modDto2Do(JobInfoModRequest jobInfoModRequest);

    JobInfoModResponse modDo2Dto(JobInfoPo jobInfoPo);

}
